@import '../../style/var.scss';

.page {
  background: #f5f5f5;
}

.user-container {
  background: #fff;
  display: flex;
  height: 216rpx;
  padding: 0 20px;

  .user-avatar {
    width: 200rpx;
    display: flex;
    align-items: center;

    .avatar {
      width: $height-avatar;
      height: $height-avatar;
      border-radius: 100%;
    }

    .avatar-empty {
      box-sizing: border-box;
      border: 1px solid $color-border-main;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .avatar-icon {
      height: 60rpx;
      width: 60rpx;
    }
  }

  .user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    .user-name {
      font-size: $font-size-main-16;
    }

    .user-desc {
      font-size: $font-size-desc;
      color: $color-text-desc;
      margin-top: 20rpx;
    }
  }

  .user-right {
    width: 80rpx;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;

    .right {
      width: 44rpx;
      height: 44rpx;
    }
  }
}

.ability-container {
  height: 100px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 25%;
    position: relative;

    .item-icon {
      width: 80rpx;
      height: 80rpx;
    }

    .item-text {
      font-size: 12px;
      margin-top: 4px;
    }
    .item-new {
      color: #fff;
      font-size: 10px;
      width: 36rpx;
      height: 36rpx;
      line-height: 36rpx;
      border-radius: 100%;
      background-color: #ee0a24;
      position: absolute;
      text-align: center;
      right: 36rpx;
      bottom: 32rpx;
    }
  }
}

.block {
  .cell {
    cursor: pointer;
  }
}
